<?php $url = new Url();?>
<div class="left">
    <?php $this->widget("AdminKetquaTrongngay")?>
    <?php $this->widget("AdminKetquaXoso")?>
</div>
<div class="right-main">
    <div class="righ-cont">
        <div class="right">
            <div class="title_style"> <span><b>Kết quả xổ số Miền Bắc</b></span></div>

            <?php if($row){?>
            <div class="table clearfix">
            
                <table cellspacing="0" cellpadding="0" border="0" width="100%">
                    <tbody>
                        <tr>
                            <td width="14%" class="text-left"><strong class="s16">Giải đặc biệt</strong></td>
                            <td width="86%" class="text-left"><b class=" clred"><?=$row["giai_dacbiet"]?></b></td>
                        </tr>
                        <tr>
                            <td class="text-left"><strong>Giải  nhất</strong></td>
                            <td class="text-left"><b class="clblue"><?=$row["giai_nhat"]?></b></td>
                        </tr>
                        <tr>
                            <td class="text-left"><strong>Giải  nhì</strong></td>
                            <td class="text-left"><b class="clblue"><?=$row["giai_nhi_1"]?>  -  <?=$row["giai_nhi_2"]?></b></td>
                        </tr>
                        <tr>
                            <td class="text-left"><strong>Giải  ba</strong></td>
                            <td class="text-left">
                            <b class="clblue"><?=$row["giai_ba_1"]?> - <?=$row["giai_ba_2"]?> - <?=$row["giai_ba_3"]?> - <?=$row["giai_ba_4"]?> - <?=$row["giai_ba_5"]?> - <?=$row["giai_ba_6"]?></b>
                            </td>
                        </tr>
                        <tr>
                            <td class="text-left"><strong>Giải  tư</strong></td>
                            <td class="text-left">
                            <b class="clblue"><?=$row["giai_tu_1"]?> - <?=$row["giai_tu_2"]?> - <?=$row["giai_tu_3"]?> - <?=$row["giai_tu_4"]?></b>
                            </td>
                        </tr>
                        <tr>
                            <td class="text-left"><strong>Giải  năm</strong></td>
                            <td class="text-left">
                            <b class="clblue"><?=$row["giai_nam_1"]?> - <?=$row["giai_nam_2"]?> - <?=$row["giai_nam_3"]?> - <?=$row["giai_nam_4"]?> - <?=$row["giai_nam_5"]?> - <?=$row["giai_nam_6"]?></b>
                            </td>
                        </tr>
                        <tr>
                            <td class="text-left"><strong>Giải  sáu</strong></td>
                            <td class="text-left"><b class="clblue"><?=$row["giai_sau_1"]?>    - <?=$row["giai_sau_2"]?>    - <?=$row["giai_sau_3"]?></b></td>
                        </tr>
                        <tr>
                            <td class="text-left"><strong>Giải  bảy</strong></td>
                            <td class="text-left"><b class="clblue"><?=$row["giai_bay_1"]?> -   <?=$row["giai_bay_2"]?>    - <?=$row["giai_bay_3"]?>    - <?=$row["giai_bay_4"]?></b></td>
                        </tr>
                    </tbody>
                </table>
             
            </div>
            <div class="table clearfix">
                <table cellspacing="0" cellpadding="0" border="0" width="100%">
                    <tbody>
                        <tr>
                            <td colspan="9"><strong class="s16">Lôtô trực tiếp</strong></td>
                        </tr>
                        <tr>
                            <td><strong><?= substr($row["giai_bay_4"],strlen($row["giai_bay_4"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_bay_3"],strlen($row["giai_bay_3"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_bay_2"],strlen($row["giai_bay_2"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_bay_1"],strlen($row["giai_bay_1"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_sau_3"],strlen($row["giai_sau_3"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_sau_2"],strlen($row["giai_sau_2"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_sau_1"],strlen($row["giai_sau_1"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_nam_6"],strlen($row["giai_nam_6"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_nam_5"],strlen($row["giai_nam_5"])-2,2)?></strong></td>
                        </tr>
                        <tr>
                            <td><strong><?= substr($row["giai_nam_4"],strlen($row["giai_nam_4"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_nam_3"],strlen($row["giai_nam_3"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_nam_2"],strlen($row["giai_nam_2"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_nam_1"],strlen($row["giai_nam_1"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_tu_4"],strlen($row["giai_tu_4"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_tu_3"],strlen($row["giai_tu_3"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_tu_2"],strlen($row["giai_tu_2"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_tu_1"],strlen($row["giai_tu_1"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_ba_6"],strlen($row["giai_ba_6"])-2,2)?></strong></td>
                        </tr>
                        <tr>
                            <td><strong><?= substr($row["giai_ba_5"],strlen($row["giai_ba_5"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_ba_4"],strlen($row["giai_ba_4"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_ba_3"],strlen($row["giai_ba_3"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_ba_2"],strlen($row["giai_ba_2"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_ba_1"],strlen($row["giai_ba_1"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_nhi_1"],strlen($row["giai_nhi_1"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_nhi_2"],strlen($row["giai_nhi_2"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_nhat"],strlen($row["giai_nhat"])-2,2)?></strong></td>
                            <td><strong><?= substr($row["giai_dacbiet"],strlen($row["giai_dacbiet"])-2,2)?></strong></td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <?php }else{?>
             <center>Khong co du lieu</center>
             <?php }?>
        </div>
    </div>
</div>
